package facade;

public class Amplifier {

    private String name;

    public Amplifier() {
        this.name = "Top-O-Line" + " Amplifier";
    }

    public String getName() {
        return name;
    }

    public void on() {
        System.out.println(this.name + " on");
    }

    public void off() {
        System.out.println(this.name + " off");
    }

    public void setDvd(DvdPlayer dvd) {
        System.out.println(this.name + " setting DVD player to " + dvd.getName());
    }

    public void setSurroundSound() {
        System.out.println(this.name + " surround sound on");
    }

    public void setVolume(int volume) {
        System.out.println(this.name + " setting volume to " + volume);
    }

}
